package org.galaxyworld.flycode.jobs;

import org.galaxyworld.flycode.core.Job;
import org.galaxyworld.flycode.utils.MessageHandler;

public class ModelGenerationJob implements Job {

    @Override
    public void exec() {
        ModelGenerator modelGenerator = new ModelGenerator();
        modelGenerator.setMessageHandler(new MessageHandler() {
            @Override
            public void onMessageReceived(String... messages) {
                for (String msg : messages) {
                    System.out.println(msg);
                }
            }
        });
        modelGenerator.generate();
    }
}
